Package | sora.graybox.synth |
Class | public class SamplerPreset |
Inheritance | SamplerPreset ![]() |
See also
Property | Defined By | ||
---|---|---|---|
ar : int = 127
音量エンベロープのアタックレート. | SamplerPreset | ||
dr : int = 0
音量エンベロープのディケイレート. | SamplerPreset | ||
octv : int = 8
音色の音程をオクターブ単位で調整. | SamplerPreset | ||
pan : int = 64
音色の定位. | SamplerPreset | ||
rr : int = 120
音量エンベロープのリリースレート. | SamplerPreset | ||
sl : int = 127
音量エンベロープのサステインレベル. | SamplerPreset | ||
smplNum : int = 0
サンプルデータナンバー. | SamplerPreset | ||
tl : int = 0
音量エンベロープのトータルレベル. | SamplerPreset | ||
toneName : String = default preset
プリセット名. | SamplerPreset | ||
tune : int = 8192
音色の音程を微調整. | SamplerPreset |
Method | Defined By | ||
---|---|---|---|
SamplerPresetオブジェクトを構築します. | SamplerPreset | ||
copy(preset:SamplerPreset):void
音色パラメーターをコピーします. | SamplerPreset | ||
reset():void
音色パラメーターをリセットします. | SamplerPreset |
ar | property |
public var ar:int = 127
音量エンベロープのアタックレート.
Attack Rate [0 ~ 127] 0 -> AttackTime 256.0Sec / 1 8 -> AttackTime 256.0Sec / 2 16 -> AttackTime 256.0Sec / 4 24 -> AttackTime 256.0Sec / 8 32 -> AttackTime 256.0Sec / 16 128 -> AttackTime 256.0Sec / 65536
dr | property |
public var dr:int = 0
音量エンベロープのディケイレート.
Decay Rate [0 ~ 127] 0 -> AttackTime 256.0Sec / 1 8 -> AttackTime 256.0Sec / 2 16 -> AttackTime 256.0Sec / 4 24 -> AttackTime 256.0Sec / 8 32 -> AttackTime 256.0Sec / 16 128 -> AttackTime 256.0Sec / 65536
octv | property |
public var octv:int = 8
音色の音程をオクターブ単位で調整.
Tune (Octave)[0(-8 octave) ~ 8(+-0) ~ 15(+7 octave)]
pan | property |
public var pan:int = 64
音色の定位.
Panpot [ 0(L) ~ 64(center) ~ 127(R) ]
rr | property |
public var rr:int = 120
音量エンベロープのリリースレート.
Release Rate [0 ~ 127] 0 -> AttackTime 256.0Sec / 1 8 -> AttackTime 256.0Sec / 2 16 -> AttackTime 256.0Sec / 4 24 -> AttackTime 256.0Sec / 8 32 -> AttackTime 256.0Sec / 16 128 -> AttackTime 256.0Sec / 65536
sl | property |
public var sl:int = 127
音量エンベロープのサステインレベル.
Sustain Level [0 ~ 127] 0 -> 0dB 4 -> -3dB 8 -> -6dB 16 -> -12dB 127 -> -96dB
smplNum | property |
public var smplNum:int = 0
サンプルデータナンバー.
SampleData Index Nuber [0 ~ 127]
tl | property |
public var tl:int = 0
音量エンベロープのトータルレベル.
Total Level [0 ~ 127] 0 -> 0dB 4 -> -3dB 8 -> -6dB 16 -> -12dB 127 -> -96dB
toneName | property |
public var toneName:String = default preset
プリセット名.
各シンセサイザークラスからは固定長16バイトのAscii文字列として処理されます。tune | property |
public var tune:int = 8192
音色の音程を微調整.
Tune [0(-1 octave) ~ 8192(+-0) ~ 16383(+1 octave)]
SamplerPreset | () | Constructor |
public function SamplerPreset()
SamplerPresetオブジェクトを構築します.
copy | () | method |
public function copy(preset:SamplerPreset):void
音色パラメーターをコピーします.
Parameters
preset:SamplerPreset — コピー元プリセット
|
reset | () | method |
public function reset():void
音色パラメーターをリセットします.